<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>中部</title>
    <link rel="stylesheet" href="./css/style1.css" />
  </head>

  <body>
    <div class="container clear mt20">
      <div class="newslist">
        <div class="c_title">
          <h3>视频播报</h3>
          <span>
            <a target="_blank" href="https://www.zhuhai.gov.cn/">···</a></span
          >
        </div>

        <li class="img_title_video">
          <a
            href="https://mp.weixin.qq.com/s/2Z3NfYj3eszgSWagNTsCLw"
            target="_blank"
          >
            <img
              src="https://mmbiz.qpic.cn/mmbiz_jpg/scGBGrsVb5H7c4rrMyVzmjdDicKaDwset1d6kDTVlGvlPWK9C7dYYibaCAyL7qfJ5ib5I9icYeShpy4qfla15ous3g/640?wx_fmt=jpeg&wxfrom=5&wx_lazy=1&wx_co=1"
          /></a>
          <p>千鸟翔集的岭南水乡</p>
          <span class="video_icon"></span>
        </li>
        <li class="img_title_video">
          <a
            href="https://media-cm.oss-cn-shenzhen.aliyuncs.com/media/20230925/3429271695639730314.mp4"
            target="_blank"
          >
            <img
              src="https://pub-point.hizh.cn/images/202309/26/65122e328bcb2f54e56f4c1a.jpeg"
          /></a>
          <p>中国农民丰收节</p>
          <span class="video_icon"></span>
        </li>
        <li class="img_title_video">
          <a
            href="https://media-cm.oss-cn-shenzhen.aliyuncs.com/media/202308/4482381693481400006.mp4"
            target="_blank"
          >
            <img
              src="https://pic.sxncb.com/2023-01/28/10000464_2210a77a-0062-4cdc-ad9d-e602f2156253.jpg"
          /></a>
          <p>以赛促学|“擂台赛”</p>
          <span class="video_icon"></span>
        </li>
        <li class="img_title_video">
          <a
            href="https://vod2.oeeee.com/ee2a2030659e4bbbb5cf3d7e63da0418/8cc2754fd9f0f27c1bed96f7e3883bad-sd-nbv1.mp4"
            target="_blank"
          >
            <img
              src="http://gdzh.wenming.cn/2104/202211/W020221124608814565394.jpg"
          /></a>
          <p>珠海文明主题《你的微笑》</p>
          <span class="video_icon"></span>
        </li>
        <ul>
          <li>
            <a
              href="http://flv0.bn.netease.com/37823c306e88facc3ccb131a64b9b5d20e7ed634efb6d6814cff71bae1543a99fef4b04ce46b297ce4473b7292003a68e13fe0b99c6815233a0d206b0ee074d60bc9a56f21cdebf734905101b23963ac8e5601d3f45de8b827538453e375aae6e3fa1e77080a07b0b292fc3a1035740c9f9ffc31dfe03292.mp4"
              target="_blank"
              >“藏”在鱼塘里的农庄
            </a>
          </li>
          <li>
            <a
              href="http://flv0.bn.netease.com/37823c306e88facccc127bd1b4d9ad8f1718b4c970567ffb5e444029cf491f8ecbe7ed66732cc2bd98ac14789e48c743a053fbf741869f0903b2588f42f4a8efe65eeddd6462f099715261cffeefbf7341471ed11febae9a5e6b623114f56f6e8050c2e02a226c3953bae2262d49e6b22585fa64c69030f6.mp4"
              target="_blank"
              >水网密布，水系绵长</a
            >
          </li>
          <li>
            <a
              href="https://weibo.com/tv/show/1034:4774786950430737"
              target="_blank"
              >民法典相伴</a
            >
          </li>
          <li>
            <a
              href="https://haokan.baidu.com/v?pd=wisenatural&vid=2540838760716857287"
              target="_blank"
              >三板农庄 水乡文化</a
            >
          </li>
        </ul>
      </div>
      <div class="newslist newslistmargin">
        <div class="c_title">
          <h3>乡村振兴</h3>
          <span>
            <a target="_blank" href=" https://www.zhuhai.gov.cn/">···</a></span
          >
        </div>

        <li class="img_title">
          <a
            href="https://www.zhuhai.gov.cn/xw/xwzx/zhyw/content/post_2548991.html"
            target="_blank"
            ><img src="http://www.zhuhai.gov.cn/img/0/42/42889/2548991.png"
          /></a>
          <p>三板村获赠丝瓜玉米苗</p>
        </li>
        <ul>
          <li>
            <a
              href="https://www.zhuhai.gov.cn/zfxxgk/zfxxgkml/content/post_1861451.html"
              target="_blank"
              >以水“做文章” 发展“水文化”</a
            >
          </li>
          <li>
            <a
              href="https://www.zhuhai.gov.cn/xw/xwzx/gqdt/content/post_1775263.html"
              target="_blank"
              >优化营商环境 助力乡村振兴</a
            >
          </li>
          <li>
            <a
              href="https://www.zhuhai.gov.cn/zfxxgk/zfxxgkml/content/post_1864877.html"
              target="_blank"
              >走一条属于自己的幸福路</a
            >
          </li>
          <li>
            <a
              href="https://www.zhuhai.gov.cn/zfxxgk/zfxxgkml/content/post_1872038.html"
              target="_blank"
              >三板村与台南市五甲里“结亲”</a
            >
          </li>
          <li>
            <a
              href="https://www.zhuhai.gov.cn/xw/xwzx/gqdt/content/post_1778309.html"
              target="_blank"
              >推进乡村振兴 改善人居环境</a
            >
          </li>
        </ul>
      </div>
      <div class="newslist">
        <div class="c_title">
          <h3>脱贫攻坚</h3>
          <span>
            <a target="_blank" href=" https://www.zhuhai.gov.cn/">···</a></span
          >
        </div>

        <li class="img_title">
          <a
            href="https://pub-zhtb.hizh.cn/a/202309/23/AP650e36bce4b09289c21c8d87.html"
            target="_blank"
            ><img
              src="https://pub-point.hizh.cn/images/202309/23/650e36bbbf08ca68bcde18f4.jpeg"
          /></a>
          <p>珠海，和美乡村入画卷！</p>
        </li>
        <ul>
          <li>
            <a
              href="https://www.zhuhai.gov.cn/zfxxgk/zfxxgkml/content/post_1866230.html"
              target="_blank"
              >全国首家乡村金融吧在金湾区三板村开张</a
            >
          </li>
          <li>
            <a
              href="https://pub-zhtb.hizh.cn/a/202304/25/AP64472529e4b04c568a8fcc7b.html"
              target="_blank"
              >金湾“百千万工程”施工图出炉
            </a>
          </li>
          <li>
            <a
              href="https://pub-zhtb.hizh.cn/a/202308/26/AP64e95030e4b0ca799556f1ac.html"
              target="_blank"
              >以“百千万工程”为抓手，珠海推动城乡融合发展</a
            >
          </li>
          <li>
            <a
              href="https://pub-zhtb.hizh.cn/a/202309/20/AP650a285fe4b09289c21b58ad.html"
              target="_blank"
              >珠海加快打造宜居宜业现代化和美乡村</a
            >
          </li>
          <li>
            <a
              href="https://pub-zhtb.hizh.cn/a/202308/10/AP64d45682e4b0da1904f29165.html"
              target="_blank"
              >村均年收入超500万！珠海122个行政村总收入6.23亿</a
            >
          </li>
        </ul>
      </div>
    </div>

    <div class="container clear mt20">
      <div class="newslist">
        <div class="c_title">
          <h3>乡村文艺</h3>
          <span>
            <a target="_blank" href=" https://www.zhuhai.gov.cn/">···</a></span
          >
        </div>

        <li class="img_title">
          <a
            href="https://pub-zhtb.hizh.cn/a/202309/26/AP65122b86e4b0a12e0ce8e399.html"
            target="_blank"
            ><img
              src="https://pub-point.hizh.cn/images/202309/26/65122e338bcb2f54e56f4c29.jpeg"
          /></a>
          <p>2023年“中国农民丰收节”</p>
        </li>
        <ul>
          <li>
            <a
              href="http://pub-zhtb.hizh.cn/a/202306/19/AP648fe44ae4b070cbc9300a36.html"
              target="_blank"
              >水乡版“速度与激情”！</a
            >
          </li>
          <li>
            <a
              href="https://haokan.baidu.com/v?pd=wisenatural&vid=5961211432292993417"
              target="_blank"
              >三板特色农庄</a
            >
          </li>
          <li>
            <a href="https://www.sohu.com/a/314495548_660124" target="_blank"
              >活力金湾丨三板水乡赛龙舟</a
            >
          </li>
          <li>
            <a
              href="https://mzrbh5.meizhou.cn/html5/2022-03/23/content_7226_5900810.htm"
              target="_blank"
              >印象三板</a
            >
          </li>
          <li>
            <a
              href="https://www.sxncb.com/2023-06/21/content_10232403.html"
              target="_blank"
              >粽子的滋味</a
            >
          </li>
        </ul>
      </div>
      <div class="newslist newslistmargin">
        <div class="c_title">
          <h3>法制文教</h3>
          <span>
            <a target="_blank" href=" https://www.zhuhai.gov.cn/">···</a></span
          >
        </div>

        <li class="img_title">
          <a
            href="http://gdzh.wenming.cn/1914/202307/t20230728_8191936.html"
            target="_blank"
            ><img src="http://inews.gtimg.com/newsapp_bt/0/15788512905/641"
          /></a>
          <p>藏在绘本故事中的法治教育</p>
        </li>
        <ul>
          <li>
            <a
              href="http://pub-jw.hizh.cn/s/202306/16/AP648bb70dd5deac5c33abacad.html"
              target="_blank"
              >文旅新项目、小区大改造！</a
            >
          </li>
          <li>
            <a href="https://new.qq.com/rain/a/20230503A03J1700" target="_blank"
              >国字号荣誉，金湾＋1！</a
            >
          </li>
          <li>
            <a
              href="http://www.jinwan.gov.cn/jinwan/ywdt/jwxw/content/post_3296523.html"
              target="_blank"
              >“民法典宣传月”活动 “典”燃学法热潮</a
            >
          </li>
          <li>
            <a
              href="http://pub-zhtb.hizh.cn/s/202104/26/AP6086d687e4b0bb74ca257535.html"
              target="_blank"
              >红旗镇开展党史学习教育进农村专题讲座</a
            >
          </li>
          <li>
            <a
              href="http://pub-zhtb.hizh.cn/s/202104/15/AP6077ca93e4b0f75fe2d2900b.html"
              target="_blank"
              >金湾居民在 “大声公”里听故事学党史</a
            >
          </li>
        </ul>
      </div>
      <div class="newslist">
        <div class="c_title">
          <h3>民生百态</h3>
          <span>
            <a target="_blank" href=" https://www.zhuhai.gov.cn/">···</a></span
          >
        </div>

        <li class="img_title">
          <a
            href="http://pub-static.hizh.cn/a/202304/28/AP644b461be4b0fe4f82057e98.html"
            target="_blank"
            ><img
              src="https://pub-static.hizh.cn/images/202304/28/644b461b4b4b1336d4ab091e.jpeg"
          /></a>
          <p>梁华坤：珠海“鸟叔”</p>
        </li>
        <ul>
          <li>
            <a
              href="http://gdzh.wenming.cn/1906/202212/t20221212_7901060.html"
              target="_blank"
              >拨开“蜘蛛网”，金湾区开展空中缆线整治行动</a
            >
          </li>
          <li>
            <a
              href="http://pub-jw.hizh.cn/s/202207/01/AP62be99b8d5de7e976faca936.html"
              target="_blank"
              >红旗镇建设356处垃圾分类投放站
            </a>
          </li>
          <li>
            <a
              href="http://pub-static.hizh.cn/a/202204/19/AP625e3213e4b0aaa8a96505c6.html"
              target="_blank"
              >在平凡的岗位上诠释着不平凡的责任与担当</a
            >
          </li>
          <li>
            <a
              href="http://pub-zhtb.hizh.cn/s/202112/13/AP61b75487e4b067667866161b.html"
              target="_blank"
              >金湾将“问题河”变身“生态河”</a
            >
          </li>
          <li>
            <a
              href="http://pub-zhtb.hizh.cn/a/202104/13/AP60757bbbe4b036c96967a87e.html"
              target="_blank"
              >三板村“大喇叭”讲党史，真“声”动！</a
            >
          </li>
        </ul>
      </div>
    </div>
  </body>

  <script>
    // 当页面载入的时候加载这个函数
    window.onload = function () {
      // 获取大盒子的内容 为content的第一个元素 也就是ul中的内容
      var content = this.document.getElementsByClassName("content")[0];

      // 获取ul中的li
      var li = content.getElementsByTagName("li");

      // 函数传入两个参数，(i,j)
      function fun(i, j) {
        //转换图片函数，就是把透明度改了一下
        li[i].style.opacity = 1;
        li[j].style.opacity = 0;

        // 然后也把小图标的颜色改一下
        // 把图标改成白色
        // 如果图片数量发生改变 那么下面的3也要变成图片的数量
        li[i + 3].style.backgroundColor = "#ffffff";

        // 把图标改成透明
        li[j + 3].style.backgroundColor = "#00000000";
      }

      // 默认情况下轮播图为第一张
      fun(0, 1); //初始化下
      var i = 0;

      function auto() {
        //轮播循环函数
        i++;
        // 当数组越界的时候
        if (i >= 3) {
          // 置为0
          i = 0;
          // 然后递归重新开始
          // 这里的2位3-1的意思
          fun(0, 2);
        } else {
          // 反之递归
          fun(i, i - 1);
        }
      }
      // 设置变化的时间
      timer = this.setInterval(auto, 2000);

      // 设置鼠标在轮播图上的时候 轮播图就停止播放
      content.onmouseover = function () {
        //鼠标划上去，停止轮播
        clearInterval(timer);
      };

      // 设置鼠标在轮播图上的时候 轮播图就继续播放
      content.onmouseout = function () {
        //鼠标划出，继续轮播
        timer = setInterval(auto, 2000); //调用定时器
      };
      var j = 0;
      for (; j < 3; j++) {
        //点击小图标也可以转换图片
        li[j + 3].index = j;
        // 当点击小图标进行的函数
        li[j + 3].onclick = function () {
          fun(this.index, i);
          i = this.index;
        };
      }
    };
  </script>
</html>
